From 0b8d2172143d9a53dc087456b070772e3796b728 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 15 Apr 2010 09:03:43 +0100 Subject: [PATCH] Fix tasklet_action() to notify correct cpu when running tasklet is rescheduled. Signed-off-by: Keir Fraser --- xen/common/softirq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/softirq.c b/xen/common/softirq.c index f99d0d4f7c..e90b71ed2b 100644 --- a/xen/common/softirq.c +++ b/xen/common/softirq.c @@ -149,7 +149,7 @@ static void tasklet_action(void) BUG_ON(t->is_dead || !list_empty(&t->list)); list_add_tail(&t->list, &per_cpu(tasklet_list, t->scheduled_on)); if ( t->scheduled_on != cpu ) - cpu_raise_softirq(cpu, TASKLET_SOFTIRQ); + cpu_raise_softirq(t->scheduled_on, TASKLET_SOFTIRQ); } /* -- 2.30.2